package com.swak.boot.config.metrics;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import com.codahale.metrics.MetricRegistry;
import com.swak.metrics.impl.CodahaleMetricsFactory;

/**
 * 指标服务类；
 * 
 * @author lifeng
 * @date 2021/04/14
 */
@Configuration
@ComponentScan(value = { "com.swak.metrics.out.service" })
@ConditionalOnClass({ MetricRegistry.class, CodahaleMetricsFactory.class })
public class AutoConfigurationMetricsServiceComponents {

}